const Response = require("./class/Response");

WSS.get('/llapi/data/broadcast', async (thisClient, req, res)=>{
    if (res.header.source_bds_uuid == null){
        throw new Error('广播数据失败,未找到源BDSuuid');
    }
    res.header.url = "/llapi/data";
    res.body.data = req.body.data;
    WSS.clientsManager.broadcastJson(res.json);
});